package com.example.demo.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PicController {
    @GetMapping("/pic/getpic")
    public String getPic(HttpServletRequest request){
        var header=request.getHeader("Authorization");
        var userInfo=request.getHeader("UserInfo");
        return "this get pic method.";
    }
}
